/****************************************************************************
** Meta object code from reading C++ file 'notify_adaptor.h'
**
** Created: Wed Jun 3 16:04:47 2009
**      by: The Qt Meta Object Compiler version 61 (Qt 4.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "notify_adaptor.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'notify_adaptor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 61
#error "This file was generated using the moc from 4.5.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_NotifyAdaptor[] = {

 // content:
       2,       // revision
       0,       // classname
       2,   12, // classinfo
       4,   16, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors

 // classinfo: key, value
      34,   14,
     639,   50,

 // signals: signature, parameters, type, tag, flags
     675,  660,  659,  659, 0x05,
     698,  693,  659,  659, 0x05,
     726,  712,  659,  659, 0x05,
     753,  743,  659,  659, 0x05,

       0        // eod
};

static const char qt_meta_stringdata_NotifyAdaptor[] = {
    "NotifyAdaptor\0com.opendesk.notify\0"
    "D-Bus Interface\0"
    "  <interface name=\"com.opendesk.notify\" >\n    <signal name=\"messag"
    "e\" >\n      <arg direction=\"out\" type=\"s\" name=\"from\" />\n     "
    " <arg direction=\"out\" type=\"s\" name=\"text\" />\n    </signal>\n  "
    "  <signal name=\"call\" >\n      <arg direction=\"out\" type=\"s\" nam"
    "e=\"from\" />\n    </signal>\n    <signal name=\"battery\" >\n      <a"
    "rg direction=\"out\" type=\"b\" name=\"charging\" />\n      <arg direc"
    "tion=\"out\" type=\"i\" name=\"level\" />\n    </signal>\n    <signal "
    "name=\"gsm\" >\n      <arg direction=\"out\" type=\"s\" name=\"network"
    "\" />\n      <arg direction=\"out\" type=\"i\" name=\"power\" />\n    "
    "</signal>\n  </interface>\n\0"
    "D-Bus Introspection\0\0charging,level\0"
    "battery(bool,int)\0from\0call(QString)\0"
    "network,power\0gsm(QString,int)\0from,text\0"
    "message(QString,QString)\0"
};

const QMetaObject NotifyAdaptor::staticMetaObject = {
    { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_NotifyAdaptor,
      qt_meta_data_NotifyAdaptor, 0 }
};

const QMetaObject *NotifyAdaptor::metaObject() const
{
    return &staticMetaObject;
}

void *NotifyAdaptor::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_NotifyAdaptor))
        return static_cast<void*>(const_cast< NotifyAdaptor*>(this));
    return QDBusAbstractAdaptor::qt_metacast(_clname);
}

int NotifyAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: battery((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: call((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: gsm((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        default: ;
        }
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void NotifyAdaptor::battery(bool _t1, int _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void NotifyAdaptor::call(const QString & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void NotifyAdaptor::gsm(const QString & _t1, int _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void NotifyAdaptor::message(const QString & _t1, const QString & _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
